<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false" %>

<jsp:useBean id="UserBean" class="bean.UserBean">
    <jsp:setProperty name="UserBean" property="login"/>
    <jsp:setProperty name="UserBean" property="pass"/>
    <jsp:setProperty name="UserBean" property="fullName"/>
    <jsp:setProperty name="UserBean" property="access"/>
    <jsp:setProperty name="UserBean" property="createUser" value="true"/>

    <jsp:getProperty name="UserBean" property="login"/>
    <br>
    <jsp:getProperty name="UserBean" property="pass"/>
    <br>
    <jsp:getProperty name="UserBean" property="fullName"/>
    <br>
    <jsp:getProperty name="UserBean" property="access"/>


    <c:if test="${UserBean.access ge 1}">
        Create user.
    </c:if>


</jsp:useBean>
